<template>
  <div>
    <keep-alive exclude="SearchView,SearchResult,UserEdit,ArticleDetailView">
      <router-view />
    </keep-alive>
  </div>
</template>

<script>
import { getAllChannelsAPI } from '@/api'
// import Login from './views/Login/loginView'
// import Layout from './views/Layout/layoutView.vue'
export default {
  async created() {
    try {
      const res = await getAllChannelsAPI()
      console.log(res)
    } catch (error) {
      console.log(error)
    }
  },
  components: {
    // Login,
    // Layout
  }
}
</script>

<style lang="less" scoped></style>
